home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 23 / CU Amiga - Super CD-ROM 23 (June 1998).iso / CUCD / Programming / OUI / include / gadgets / rcs / eprop.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-04-08  |  1.5 KB  |  94 lines

  1. head    1.2;
  2. access;
  3. symbols;
  4. locks
  5.     dlorre:1.2; strict;
  6. comment    @ * @;
  7.  
  8.  
  9. 1.2
  10. date    97.07.14.04.26.42;    author dlorre;    state Exp;
  11. branches;
  12. next    1.1;
  13.  
  14. 1.1
  15. date    96.08.22.02.06.07;    author dlorre;    state Exp;
  16. branches;
  17. next    ;
  18.  
  19.  
  20. desc
  21. @Oui.lib -- Object User Interface
  22. Projet créé en 1994
  23. Auteur: Dominique Lorre
  24. @
  25.  
  26.  
  27. 1.2
  28. log
  29. @*** empty log message ***
  30. @
  31. text
  32. @// $Id$
  33. #ifndef CLASS_EPROP_H
  34. #define CLASS_EPROP_H
  35.  
  36. #ifndef EXEC_TYPES_H
  37. #include <exec/types.h>
  38. #endif
  39.  
  40. #ifndef INTUITION_GADGETCLASS_H
  41. #define LORIENT_HORIZ   1
  42. #define LORIENT_VERT    2
  43. #endif
  44.  
  45. #ifndef CLASS_WINDOW_H
  46. class window ;
  47. #endif
  48.  
  49. #ifndef CLASS_GADGETLIST_H
  50. class gadgetlist ;
  51. #endif
  52.  
  53. #ifndef CLASS_GADGET_H
  54. #include "gadgets/gadget.h"
  55. #endif
  56.  
  57. const char  INSIDEPROP = 0 ;
  58. const char  RIGHTPROP = 1 ;
  59. const char  BOTTOMPROP = 2 ;
  60. const char  WIDTHPROP = 4 ;
  61. const char  HEIGHTPROP = 8 ;
  62.  
  63. // ========================================================================
  64. // =============================  EPROP CLASS =============================
  65. // ========================================================================
  66.  
  67. class eprop : public gadget
  68. {
  69. public:
  70.     eprop(gadgetlist *gl,
  71.         void    (window::*func)(gadget *, unsigned long, unsigned short),
  72.         long    top,
  73.         long    view,
  74.         long    total,
  75.         long    freedom=LORIENT_HORIZ,
  76.         char    style=INSIDEPROP) ;
  77.  
  78.     ~eprop() ;
  79.     void set(long top, long view, long total) ;
  80.     void action(unsigned long classe, unsigned short code) ;
  81. };
  82.  
  83. #endif
  84. @
  85.  
  86.  
  87. 1.1
  88. log
  89. @Initial revision
  90. @
  91. text
  92. @d1 1
  93. @
  94.